package com.neuedu.His02.controller.Register;

import com.neuedu.His02.entity.*;
import com.neuedu.His02.service.Register.ChargeService;
import com.neuedu.His02.service.Register.RegisterService;
import com.neuedu.His02.util.EnumCode;
import com.neuedu.His02.util.ResultUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@RestController
@RequestMapping("/charge")
public class ChargeController {
    @Resource
    private ChargeService service;
    @Resource
    private RegisterService registerService;
    //获取患者所有非药品费用
    @RequestMapping("/allItem")
    // http://localhost:8899/charge/allItem?ID=35
    public ResultUtil selectAllFmeditem(Register register) {
        return null;
    }
    //获取患者所有药物费用
    @RequestMapping("/allDrugs")
    // http://localhost:8899/charge/allDrugs?ID=35
    public ResultUtil selectAllDrugs(Register register) {
        return null;
    }
    @RequestMapping("/allCharge")
    // http://localhost:8899/charge/allCharge?ID=35
    public ResultUtil allCharge(Register register) throws ParseException {
        return null;
    }
}
